QuickTime 3 For Windows Programmers

| Previous | Chapter Contents | Chapter Top | Next |

QTMLSetWindowWndProc

The QTMLSetWindowWndProc routine allows you to specify an application-defined window procedure ( WNDPROC ) which is called by QTML after QTML processes the message for the HWND .

void QTMLSetWindowWndProc(WindowPtr wPtr, void *windowProc);
wPtr
Specifies the Macintosh window to hook. This must have been created via NewCWindow , NewWindow , or as a result of calling CreatePortAssociation on a native HWND .

windowProc
A Windows WNDPROC procedure. For a detailed description of the WNDPROC procedure, check your Win32 documentation.

DISCUSSION

The QTMLSetWindowWndProc routine is useful if you want to perform some special Windows processing of the native messages that Windows sends to your WindowPtr .


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |